package com.dog.modules.system.api.feign;

import com.dog.framework.feign.core.FeignRequestInterceptor;
import com.dog.modules.system.api.dto.request.SysOperLogAddReqDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @author liuxk
 * @date 2024/1/5 14:22
 *
 */
@FeignClient(contextId = "system-biz-service-log-api",
        name = "system-biz-service",
        path = "/log",
        configuration = FeignRequestInterceptor.class)
public interface SysOperLogFeignClient {

    @PostMapping("/add")
    Boolean add(@RequestBody SysOperLogAddReqDto dto) ;


}
